package com.youlai.boot.system.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.system.model.entity.TomTable;
import com.youlai.boot.system.model.form.TomTableForm;

/**
 * 汤姆代取对象转换器
 *
 * @author youlaitech
 * @since 2025-09-16 22:36
 */
@Mapper(componentModel = "spring")
public interface TomTableConverter{

    TomTableForm toForm(TomTable entity);

    TomTable toEntity(TomTableForm formData);
}